package com.sy.vo;

import com.sy.entity.Category;

import java.util.Date;
import java.util.List;

/**
 *@功能：发布博客传递的博客参数
 *
 *
 *
 *@方法（）：
 */
public class UserBlogParams {
    //博客标题
    private String title;

    //博客内容
    private String html;

    //二级文章标签
    private  List<Category> label;

    //文章类型id
    private Integer typeId;

    //原文链接
    private String originalLink;

    //是否为草稿
    private Integer isDraft;

    //创建日期
    private Date created;

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHtml() {
        return html;
    }

    public void setHtml(String html) {
        this.html = html;
    }



    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getOriginalLink() {
        return originalLink;
    }

    public void setOriginalLink(String originalLink) {
        this.originalLink = originalLink;
    }


    public List<Category> getLabel() {
        return label;
    }

    public void setLabel(List<Category> label) {
        this.label = label;
    }

    public Integer getIsDraft() {
        return isDraft;
    }

    public void setIsDraft(Integer isDraft) {
        this.isDraft = isDraft;
    }

    @Override
    public String toString() {
        return "UserBlogParams{" +
                "title='" + title + '\'' +
                ", html='" + html + '\'' +
                ", label=" + label +
                ", typeId=" + typeId +
                ", originalLink='" + originalLink + '\'' +
                ", isDraft=" + isDraft +
                ", created=" + created +
                '}';
    }
}
